﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UC_SearchMember.ascx.cs" Inherits="NewGlobalBizAssist.UControl.UC_SearchMember" %>
<div id="selection">
Member :<asp:TextBox ID="txtsrch" runat="server"></asp:TextBox>
    <asp:Button ID="btnSearch" runat="server" Text="Search" 
        onclick="btnSearch_Click" />
</div>
<div>
<asp:GridView ID="gvMembers" runat="server" AutoGenerateColumns="False" BackColor="White"  
BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4"  
    onpageindexchanging="gv_PageIndexChanging"  
    onrowdatabound="gv_RowDataBound"
    onsorting="gv_Sorting"
    onrowcommand="gv_RowCommand">
<RowStyle BackColor="White" ForeColor="#003399" /> 
    <Columns> 
       
 
 
     <asp:buttonfield buttontype="Link" commandname="Select" text='Select' runat="server"/>
        <asp:BoundField DataField="MemberID" HeaderText="MemberID" ReadOnly="True"  
            SortExpression="MemberID" /> 
        <asp:BoundField DataField="LastName" HeaderText="Last Name" ReadOnly="True"  
            SortExpression="LastName" /> 
        <asp:BoundField DataField="FirstName" HeaderText="First Name" ReadOnly="True"  
            SortExpression="FirstName" /> 
        <asp:BoundField DataField="MiddleName" HeaderText="Middle Name" ReadOnly="True"  
            SortExpression="MiddleName" /> 
        <asp:BoundField DataField="Category" HeaderText="Category" ReadOnly="True"  
            SortExpression="Category" />
        <asp:BoundField DataField="DateRegistered" HeaderText="Date Registered" ReadOnly="True"  
            SortExpression="DateRegistered" />
    </Columns> 
    <FooterStyle BackColor="#99CCCC" ForeColor="#003399" /> 
    <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" /> 
    <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" /> 
    <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" /> 
</asp:GridView> 
</div>